//
//  ItemView.m
//  VietQuan
//
//  Created by Vinh Huynh on 11/13/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "ItemView.h"
#import "Item.h"
#import "ItemExtension.h"


@implementation ItemView

@synthesize thumbnailImage;
@synthesize bgTextsImage;
@synthesize titleLabel;
@synthesize summaryLabel;
@synthesize viewDelegate;
@synthesize item;

-(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
	[self.viewDelegate touchMe:self];
}

- (id)initWithFrame:(CGRect)frame {
    if ((self = [super initWithFrame:frame])) {
        // Initialization code
    }
    return self;
}

-(void)dealloc
{
	[thumbnailImage release];
	[bgTextsImage release];
	[titleLabel release];
	[summaryLabel release];
	[super dealloc];
}

@end
		